home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 69 6e | 66 6f 72 6d 69 78 2e 63 |Path: in|formix.c|
|00000010| 6f 6d 21 6e 65 77 73 0a | 46 72 6f 6d 3a 20 44 61 |om!news.|From: Da|
|00000020| 79 61 73 68 61 6e 6b 61 | 72 20 3c 73 61 6e 6b 61 |yashanka|r <sanka|
|00000030| 72 40 69 6e 66 6f 72 6d | 69 78 2e 63 6f 6d 3e 0a |r@inform|ix.com>.|
|00000040| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000050| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 53 75 62 6a 65 63 |.lang.c+|+.Subjec|
|00000060| 74 3a 20 52 65 3a 20 43 | 6f 70 79 20 63 6f 6e 73 |t: Re: C|opy cons|
|00000070| 74 72 75 63 74 6f 72 20 | 6f 70 74 69 6d 69 7a 61 |tructor |optimiza|
|00000080| 74 69 6f 6e 2e 2e 0a 44 | 61 74 65 3a 20 46 72 69 |tion...D|ate: Fri|
|00000090| 2c 20 30 31 20 4d 61 72 | 20 31 39 39 36 20 31 34 |, 01 Mar| 1996 14|
|000000a0| 3a 32 35 3a 31 30 20 2d | 30 38 30 30 0a 4f 72 67 |:25:10 -|0800.Org|
|000000b0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 49 6e 66 6f 72 |anizatio|n: Infor|
|000000c0| 6d 69 78 2e 63 6f 6d 0a | 4d 65 73 73 61 67 65 2d |mix.com.|Message-|
|000000d0| 49 44 3a 20 3c 33 31 33 | 37 37 39 34 36 2e 36 35 |ID: <313|77946.65|
|000000e0| 43 30 40 69 6e 66 6f 72 | 6d 69 78 2e 63 6f 6d 3e |C0@infor|mix.com>|
|000000f0| 0a 52 65 66 65 72 65 6e | 63 65 73 3a 20 3c 39 36 |.Referen|ces: <96|
|00000100| 30 32 32 39 31 36 33 37 | 2e 61 61 31 37 31 33 39 |02291637|.aa17139|
|00000110| 40 70 61 72 69 73 2e 69 | 63 73 2e 75 63 69 2e 65 |@paris.i|cs.uci.e|
|00000120| 64 75 3e 0a 4e 4e 54 50 | 2d 50 6f 73 74 69 6e 67 |du>.NNTP|-Posting|
|00000130| 2d 48 6f 73 74 3a 20 73 | 61 6e 6b 61 72 5f 70 63 |-Host: s|ankar_pc|
|00000140| 2e 6e 61 2e 69 6e 66 6f | 72 6d 69 78 2e 63 6f 6d |.na.info|rmix.com|
|00000150| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|00000160| 2e 30 0a 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.0.Conte|nt-Type:|
|00000170| 20 74 65 78 74 2f 70 6c | 61 69 6e 3b 20 63 68 61 | text/pl|ain; cha|
|00000180| 72 73 65 74 3d 75 73 2d | 61 73 63 69 69 0a 43 6f |rset=us-|ascii.Co|
|00000190| 6e 74 65 6e 74 2d 54 72 | 61 6e 73 66 65 72 2d 45 |ntent-Tr|ansfer-E|
|000001a0| 6e 63 6f 64 69 6e 67 3a | 20 37 62 69 74 0a 58 2d |ncoding:| 7bit.X-|
|000001b0| 4d 61 69 6c 65 72 3a 20 | 4d 6f 7a 69 6c 6c 61 20 |Mailer: |Mozilla |
|000001c0| 32 2e 30 47 6f 6c 64 42 | 31 20 28 57 69 6e 4e 54 |2.0GoldB|1 (WinNT|
|000001d0| 3b 20 49 29 0a 54 6f 3a | 20 4d 69 63 68 61 65 6c |; I).To:| Michael|
|000001e0| 20 48 65 69 62 65 72 67 | 20 3c 6d 68 65 69 62 65 | Heiberg| <mheibe|
|000001f0| 72 67 40 61 68 69 2e 49 | 43 53 2e 55 43 49 2e 45 |rg@ahi.I|CS.UCI.E|
|00000200| 44 55 3e 0a 0a 4d 69 63 | 68 61 65 6c 20 48 65 69 |DU>..Mic|hael Hei|
|00000210| 62 65 72 67 20 77 72 6f | 74 65 3a 0a 3e 20 0a 0a |berg wro|te:.> ..|
|00000220| 3e 20 46 75 6e 63 74 69 | 6f 6e 20 66 6f 6f 20 72 |> Functi|on foo r|
|00000230| 65 74 75 72 6e 73 20 61 | 20 56 65 63 74 6f 72 20 |eturns a| Vector |
|00000240| 62 79 20 63 6f 70 79 2c | 20 63 61 6c 6c 69 6e 67 |by copy,| calling|
|00000250| 20 74 68 65 20 63 6f 70 | 79 20 63 6f 6e 73 74 72 | the cop|y constr|
|00000260| 75 63 74 6f 72 2c 20 62 | 75 74 0a 3e 20 56 65 63 |uctor, b|ut.> Vec|
|00000270| 74 6f 72 20 62 20 6e 65 | 65 64 73 20 74 6f 20 62 |tor b ne|eds to b|
|00000280| 65 20 63 6f 6e 73 74 72 | 75 63 74 65 64 20 77 69 |e constr|ucted wi|
|00000290| 74 68 20 74 68 61 74 20 | 72 65 74 75 72 6e 20 76 |th that |return v|
|000002a0| 61 6c 75 65 2e 20 20 49 | 20 68 61 76 65 20 74 72 |alue. I| have tr|
|000002b0| 69 65 64 0a 3e 20 74 68 | 69 73 20 6f 75 74 20 6f |ied.> th|is out o|
|000002c0| 6e 20 61 20 47 6e 75 2c | 20 42 6f 72 6c 61 6e 64 |n a Gnu,| Borland|
|000002d0| 2c 20 61 6e 64 20 4d 69 | 63 72 6f 73 6f 66 74 20 |, and Mi|crosoft |
|000002e0| 63 6f 6d 70 69 6c 65 72 | 2c 20 77 69 74 68 20 6f |compiler|, with o|
|000002f0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 73 0a 3e 20 74 |ptimizat|ions.> t|
|00000300| 75 72 6e 65 64 20 6f 66 | 66 2c 20 61 6e 64 20 74 |urned of|f, and t|
|00000310| 68 65 79 20 61 6c 6c 20 | 64 6f 20 74 68 69 73 20 |hey all |do this |
|00000320| 6f 70 65 72 61 74 69 6f | 6e 20 69 6e 20 6f 6e 65 |operatio|n in one|
|00000330| 20 73 74 65 70 2c 20 70 | 72 6f 64 75 63 69 6e 67 | step, p|roducing|
|00000340| 20 74 68 65 0a 3e 20 6f | 75 74 70 75 74 20 6c 69 | the.> o|utput li|
|00000350| 73 74 65 64 20 61 62 6f | 76 65 2e 20 20 49 73 20 |sted abo|ve. Is |
|00000360| 74 68 69 73 20 6a 75 73 | 74 20 61 20 76 65 72 79 |this jus|t a very|
|00000370| 20 63 6f 6d 6d 6f 6e 20 | 61 6e 64 20 74 72 69 76 | common |and triv|
|00000380| 69 61 6c 20 6f 70 74 69 | 6d 69 7a 61 74 69 6f 6e |ial opti|mization|
|00000390| 2c 0a 3e 20 6f 72 20 64 | 6f 65 73 20 74 68 65 20 |,.> or d|oes the |
|000003a0| 6c 61 6e 67 75 61 67 65 | 20 61 63 74 75 61 6c 6c |language| actuall|
|000003b0| 79 20 73 70 65 63 69 66 | 79 20 74 68 61 74 20 74 |y specif|y that t|
|000003c0| 68 65 20 63 6f 6e 73 74 | 72 75 63 74 65 64 20 6f |he const|ructed o|
|000003d0| 62 6a 65 63 74 20 69 73 | 0a 3e 20 63 6f 70 79 2d |bject is|.> copy-|
|000003e0| 63 6f 6e 73 74 72 75 63 | 74 65 64 20 77 69 74 68 |construc|ted with|
|000003f0| 20 76 20 6f 66 20 66 6f | 6f 3f 0a 3e 20 0a 0a 48 | v of fo|o?.> ..H|
|00000400| 69 2c 0a 09 54 68 65 20 | 72 65 74 75 72 6e 20 73 |i,..The |return s|
|00000410| 74 61 74 65 6d 65 6e 74 | 20 69 6e 20 74 68 65 20 |tatement| in the |
|00000420| 66 75 6e 63 74 69 6f 6e | 20 66 6f 6f 28 29 20 63 |function| foo() c|
|00000430| 61 75 73 65 73 20 74 68 | 65 20 63 72 65 61 74 69 |auses th|e creati|
|00000440| 6f 6e 20 6f 66 20 0a 74 | 68 65 20 74 65 6d 70 6f |on of .t|he tempo|
|00000450| 72 61 72 79 20 63 6f 70 | 79 2e 20 0a 09 54 68 65 |rary cop|y. ..The|
|00000460| 20 73 74 61 74 65 6d 65 | 6e 74 0a 09 09 56 65 63 | stateme|nt...Vec|
|00000470| 74 6f 72 20 62 3d 66 6f | 6f 28 61 29 3b 20 20 20 |tor b=fo|o(a); |
|00000480| 20 2f 2f 20 63 6f 70 79 | 2d 63 74 6f 72 0a 09 72 | // copy|-ctor..r|
|00000490| 65 73 75 6c 74 73 20 69 | 6e 20 74 68 65 20 63 61 |esults i|n the ca|
|000004a0| 6c 6c 20 74 6f 20 74 68 | 65 20 63 6f 70 79 20 63 |ll to th|e copy c|
|000004b0| 6f 6e 73 74 72 75 63 74 | 6f 72 2e 20 42 65 63 61 |onstruct|or. Beca|
|000004c0| 75 73 65 2c 20 0a 74 68 | 65 20 63 6f 70 79 20 63 |use, .th|e copy c|
|000004d0| 6f 6e 73 74 72 75 63 74 | 6f 72 20 28 20 69 6e 73 |onstruct|or ( ins|
|000004e0| 74 65 61 64 20 6f 66 20 | 6f 70 65 72 61 74 6f 72 |tead of |operator|
|000004f0| 3d 28 29 20 29 20 69 73 | 20 63 61 6c 6c 65 64 20 |=() ) is| called |
|00000500| 61 74 20 74 68 65 20 74 | 69 6d 65 20 6f 66 20 0a |at the t|ime of .|
|00000510| 69 6e 69 74 69 61 6c 69 | 7a 61 74 69 6f 6e 2e 20 |initiali|zation. |
|00000520| 54 68 61 74 27 73 20 74 | 68 65 20 72 65 61 73 6f |That's t|he reaso|
|00000530| 6e 20 66 6f 72 20 74 68 | 65 20 6f 75 74 70 75 74 |n for th|e output|
|00000540| 20 74 6f 20 62 65 20 0a | 09 20 43 74 6f 72 20 43 | to be .|. Ctor C|
|00000550| 6f 70 79 0a 0a 54 68 61 | 6e 6b 73 0a 0a 44 61 79 |opy..Tha|nks..Day|
|00000560| 61 73 68 61 6e 6b 61 72 | 0a |ashankar|. |
+--------+-------------------------+-------------------------+--------+--------+